package cn.usian.service.impl;

import cn.usian.dao.OrderMapper;
import cn.usian.pojo.Order;
import cn.usian.service.OrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class OrderServiceImpl implements OrderService {

    @Resource
    private OrderMapper orderMapper;


    @Override
    public Order findById(Long id) {
        return orderMapper.selectById(id);
    }
}
